<!DOCTYPE html> 
<html> 
	<head>
  <meta charset="UTF-8">	
	<title>Restaurant Picker</title> 
	
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<link rel="stylesheet" href="jquery.mobile.structure-1.0.1.css" />
	<link rel="apple-touch-icon" href="images/launch_icon_57.png" />
	<link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" />
	<link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" />
	<link rel="stylesheet" href="jquery.mobile-1.0.1.css" />
	<link rel="stylesheet" href="custom.css" />
	<script src="js/jquery-1.7.1.min.js"></script>
	<script src="js/jquery.mobile-1.0.1.js"></script>
</head> 

<body> 
<div data-role="page" id="home" data-theme="c">

	<div data-role="content">
	
	<div id="branding">
		<h1>Restaurant Picker </h1>
	</div>
	
	<div class="choice_list"> 
	<h1> Select your choice!! </h1>
	
	<ul data-role="listview" data-inset="true" >
	<li><a href="choose_town.html" data-transition="slidedown"> <h3> Verticals</h3></a></li>
	<li><a href="choose_town.html"  data-transition="slidedown">  <h3> Countries </h3></a></li>
	<li><a href="choose_town.html"  data-transition="slidedown">  <h3> Custom Search</h3></a></li> 
	</ul>	
	
	</div>
	</div>

</div><!-- /page -->
 
 <script type="text/javascript">
 		function onSuccess(data){
 			console.log(data[0] );
 		}

       $(document).ready(function() {  
 
        $.ajax({
            type: "GET",
            url: "http://localhost:8080/PeerCafeApp/aga/pf/offers/getAllFeed",
            cache: false, 
            dataType:"json",
            success: onSuccess
        });
  
     });
    </script> 	
</body>
</html>
